package org.gd.hellojavacore.junior;

public class B extends Main {

    String variable;

    public B(){
        System.out.println("variable value = " + variable);
        System.out.println(this.variable);
        System.out.println(super.variable);
    }

    protected void printVariable(){
        variable = "variable is initialized in B Class";
    }
}
